<script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4ff6a82a1311db4e"></script>
<table width="100%" border="0">
  <tr>
    <td width="3%">&nbsp;</td>
    <td width="47%" valign="top">
	<fieldset>
	<div style="height:565px;" >
		<center>
		<div class="addthis_toolbox addthis_default_style" style="width:200px;margin-top:-15px; margin-left:-24px;">
			<a class="addthis_button_tweet" style="width: 90px;"></a>
			<a class="addthis_button_facebook_like" fb:like:layout="button_count" style="width: 50px; position: absolute;"></a>
		</div>
		
		<div class="gambar_kecil" style="height:300px;" id="gbr_gede">
		<a href="<?=base_url()?>repositori/produk_user/<?=$produk->foto_1?>" title="<?=$produk->nama_produk?>" id="link_gbr">	
			<img id="foto_na" src="<?=base_url()?>repositori/produk_user/<?=$produk->foto_1?>" alt="<?=$produk->nama_produk;?>"  style="margin-top:15px;width:245px; height:265px;" /></a></div><br />
				<div>
				<? for($i=0;$i<$produk->rating;$i++){
					echo '<img src="'.base_url().'assets/css/easyui/icons/rating2.png" />';
				}
				?>
				</div>
			<hr style=" width:100%; border:#666666 1px solid;" />
	<div style="margin-left:17px;" id="gambar_na">	
	
		<div class="gambar_kecil" style="float:left; width:70px; height:65px;">
		<a href="<?=base_url()?>repositori/produk_user/<?=$produk->foto_1?>" title="<?=$produk->nama_produk?>">	
		<img onclick="ganti_gambar('<?=$produk->foto_1?>')" src="<?=base_url()?>repositori/produk_user/<?=$produk->foto_1?>" alt="<?=$produk->nama_produk;?>" width="60" height="61" /></a></div>
		<div class="gambar_kecil" style="float:left; width:70px; height:65px;">	
		<a href="<?=base_url()?>repositori/produk_user/<?=$produk->foto_2?>" title="<?=$produk->nama_produk?>">	
		<img onclick="ganti_gambar('<?=$produk->foto_2?>')" src="<?=base_url()?>repositori/produk_user/<?=$produk->foto_2?>" alt="<?=$produk->nama_produk;?>" width="60" height="61" /></a></div>
		<div class="gambar_kecil" style="float:left; width:70px; height:65px;">	
		<a href="<?=base_url()?>repositori/produk_user/<?=$produk->foto_3?>" title="<?=$produk->nama_produk?>">
		<img onclick="ganti_gambar('<?=$produk->foto_3?>')" src="<?=base_url()?>repositori/produk_user/<?=$produk->foto_3?>" alt="<?=$produk->nama_produk;?>" width="60" height="61" /></a></div>
		
	</div>
		</center>
	</div>
	</fieldset>	</td>
    <td width="47%" valign="top">
	
		<fieldset>
		
		<div style="background:url('<?=base_url()?>assets/css/temp/images/tag_price3.png') no-repeat scroll 0 ; width:200px; height:78px">
				<div style="text-align:center; padding-top:32px; color:#395AA5"><b>Rp.<?=number_format($produk->harga,2)?></b></div>
			</div><BR />
		
			<div style="height:100px;">
				<div class="gambar_kecil" style="float:left; width:70px; height:65px;">
					<img src="<?=base_url()?>repositori/logo_toko/<?=$produk->logo?>" alt="Logo Reseller" style="width:65px; height:60px; margin-left:2px;"  /> 
				</div>
					<div style="margin-left:95px; padding-top:4px; width:180px;text-shadow: 2px 2px 2px #ccc;font-weight: bold;font-size: 12px; ">
						<label style="width:70px; display:inline-block">Reseller </label>: <?php $reseller = strtoupper($produk->nama_lengkap); ?><?=$reseller;?><br />
						<label style="width:70px; display:inline-block">Toko</label>: <?=$produk->nama_toko?><br />
						<label style="width:70px; display:inline-block">Tgl. Gabung</label>: <?=$produk->tgl_buat?><br />
						
					</div>
			
			</div>
			<br />
		
			<div class="infotoko">
			<img src="<?=base_url()?>assets/css/temp/images/mail_na.png" alt="Pesan Dengan Email" width="40" height="30" /> 
				<span style="color:#FF0000">Beli Via Email</span><br />
				<span style="font-size:12px">
				<center>
				<a href="#" id="kirim_pro" style="width:156px;">Pesan Sekarang</a><br /><br />
				<a href="#" id="kirim_sendiri">Cetak Design Sendiri</a><br /><br />
				</center>
				email : bikinkaosbebas@yahoo.com
				</span>
			</div>	
			<br />
			<div class="infotoko">
			<img src="<?=base_url()?>assets/css/temp/images/hp.png" alt="Pesan Dengan Sms" width="40" height="30" /> 
				<span style="color:#FF0000">Beli Via Sms </span><br /><br />
				<span style="font-size:12px">
				Jl Panjang Menuju Surga No.14.<br />
				Tanggerang Selatan 15111 - Banten <br />
				Telp : 0812 1000 1000 <br />
				PIN : 22889DAD <br />
				</span>
			</div>
		
		</fieldset></td>
    <td width="3%">&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td colspan="2">
		<fieldset>
			<h3><?=$produk->nama_produk?></h3>
			<span style="font-size:12px; color:#1C60A7;font-weight: bold;">
				<?=$produk->deskripsi?>
			</span>
			
</fieldset>
		
		
	
	&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
<div style="margin-left:25px;">
	
	<div class="fb-comments" data-href="<?=$url?>" data-num-posts="5" data-width="675"></div>
</div>
<script>
var id_na='<?=$produk->id?>';
$('#kirim_pro').linkbutton({  
			iconCls: 'mail_na'  
});

$('#gambar_na a').lightBox();
$('#gbr_gede a').lightBox();

$('#kirim_sendiri').linkbutton({  
			iconCls: 'print_na'  
});

$('#kirim_pro').bind('click',function(){
	//tampil(2,1,id_na);
	$.post(host+"frontend/get_form/daftar",{mod:2,sts:1,data:id_na},function(r){
		//$('#isi').removeClass('loadingna').html(r);
		mywindow(r,'Pemesanan VIA Email Pesan Sekarang',600,500);
	});
});

$('#kirim_sendiri').bind('click',function(){
	//tampil(2,1,id_na);
	$.post(host+"frontend/get_form/own",{mod:2,sts:1,data:id_na},function(r){
		//$('#isi').removeClass('loadingna').html(r);
		mywindow(r,'Pemesanan VIA Email Cetak Design Sendiri',600,500);
	});
});  



</script>


